package edu.sctu.zhoumengxue.day201505.day20150522.student;

import java.util.ArrayList;

/**
 * Created by user12 on 2015/5/22.
 */
public class ListRemove {
    public static void main(String[] args) {

        ArrayList arrayList1 = new ArrayList();
        arrayList1.add("妈妈");
        arrayList1.add("爸爸");
        arrayList1.add("弟弟");
        arrayList1.add("我");
        System.out.println("原来："+arrayList1);

        arrayList1.remove(3);
        System.out.println("现在："+arrayList1);

    }
}